<template>
  <div>
    <div>Header</div>
    <button @click="emits('click')">button</button>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "Header",
});
</script>

<script setup lang="ts">
const emits = defineEmits<{
  (event: "click"): void;
}>();
</script>

<style scoped></style>
